<div class="list-group" >
  <a href="#" class="list-group-item " style="background-color: rgba(134,226,123,0.52)">
    推荐的笔记
  </a>
 {% for source in good_file %}
    <a href="/app01/preview_file/?file_id={{ source.pk }}&url={{ request.get_full_path }}" class="list-group-item">
        {{ source.name }}({{ source.number }})</a>
 {% endfor %}

</div>

<div class="list-group">
  <a href="#" class="list-group-item " style="background-color: rgba(134,226,123,0.52)">
    推荐的资源
  </a>
 {% for source in good_source %}
    <a href="/app01/site/{{ source.uploader.username }}/source_detail/{{ source.pk }}/?pk={{ source.pk }}&url={{ request.get_full_path }}" class="list-group-item">
        {{ source.name }}</a>

 {% endfor %}

</div>